package com.lhy.framework.context;

import com.lhy.framework.beans.BeansException;

/**
 * @ClassName ConfigurableApplicationContext
 * @Description
 * @Author lihaiyang
 * @Date 2022/9/11 11:41
 * @Version 1.0
 */
public interface ConfigurableApplicationContext extends ApplicationContext {

    /**
     * 刷新容器
     * @throws BeansException
     */
    void refresh() throws BeansException;

    void registerShutdownHook();

    void close();

}
